package com.ntv.persistent;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;

/**
 * @author Emperor
 *
 */
public interface IAbstractDao 
{
	public String getClazz();

	public String getTableName();

	public void setTableName(String tableName);

	public void setClazz(String clazz);

	public Object findById(Long id);

	public void create(Object obj);

	public Object edit(Object obj);

	public void delete(Object obj);

	public RowMapper getRowMapper() ;

	public void setRowMapper(RowMapper rowMapper);
	
	public JdbcTemplate getJdbcTemplate();

}
